<!-- Dom页面 -->
<template>
  <div id="Test">

        <div class="sqr"></div>

  </div>
</template>

<!-- 组件js -->
<script>
export default {
  name: "Test",
  data() {
    return {};
  }
};
</script>

<!-- CSS代码 -->
<style scoped>
.sqr{
    width: 0px;
    height: 0px;
    border-left:10px solid rgba(0,0,0,0);
    border-right:10px solid red;
    border-top:10px solid rgba(0,0,0,0);
    border-bottom:10px solid rgba(0,0,0,0);
}
</style>
